package com.hyzh.latte.vehicle.socket;

import com.hyzh.latte.vehicle.dmo.PCSwitchCameraMessage;

/**
 * @author songkui
 * @since 2024/3/21 1:02
 */
public enum EventType {
    PC_SWITCH_TYPE("pcswitch", PCSwitchCameraMessage.class),  //切换通道类型事件
    PC_PUSH_VEHICLE_TRACK("pcvtrack", PCSwitchCameraMessage.class),  //车辆轨迹事件
    PC_PUSH_VEHICLE_DELETE("pcvdel", PCSwitchCameraMessage.class),  //车辆删除事件
    PC_PUSH_PERSON_TRACK("pcptrack", PCSwitchCameraMessage.class), //人员轨迹事件
    PC_PUSH_VEHICLE_LIST("pcvlist", PCSwitchCameraMessage.class), //实时 车辆列表信息
    PC_PUSH_POINT_LIST("pcpoints", PCSwitchCameraMessage.class), //实时定位
    PC_PUSH_PERSON_LOCATION("pcplocation", PCSwitchCameraMessage.class);  //人员定位事件del

    private String event;
    private final Class request;

      EventType(String event, Class request){
        this.event = event;
        this.request =request;
    }

    public String event(){
          return this.event;
    }

    public Class request(){
          return this.request;
    }
}
